[INFO] cloning repository https://github.com/Jonster5/rust-nn-trainer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jonster5/rust-nn-trainer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonster5%2Frust-nn-trainer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonster5%2Frust-nn-trainer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 354d46e5ff34ea19adc3dc713115f8bd9a8aab44
[INFO] checking Jonster5/rust-nn-trainer against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonster5%2Frust-nn-trainer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Jonster5/rust-nn-trainer on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Jonster5/rust-nn-trainer
[INFO] finished tweaking git repo https://github.com/Jonster5/rust-nn-trainer
[INFO] tweaked toml for git repo https://github.com/Jonster5/rust-nn-trainer written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Jonster5/rust-nn-trainer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c21e50273474a2144bacfb3ab012ca7fd0da17293d1f3ef751cb94c1d01e7abc
[INFO] running `Command { std: "docker" "start" "-a" "c21e50273474a2144bacfb3ab012ca7fd0da17293d1f3ef751cb94c1d01e7abc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c21e50273474a2144bacfb3ab012ca7fd0da17293d1f3ef751cb94c1d01e7abc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c21e50273474a2144bacfb3ab012ca7fd0da17293d1f3ef751cb94c1d01e7abc", kill_on_drop: false }`
[INFO] [stdout] c21e50273474a2144bacfb3ab012ca7fd0da17293d1f3ef751cb94c1d01e7abc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 683f9fff06bf3719f77201916ff87e1131772cb6abd3820deb90f40d54480566
[INFO] running `Command { std: "docker" "start" "-a" "683f9fff06bf3719f77201916ff87e1131772cb6abd3820deb90f40d54480566", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking nn-trainer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/network.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub layers: Vec<Layer>,
[INFO] [stdout]   |                     ^^^^^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 ~ pub struct NeuralNetwork<'a> {
[INFO] [stdout] 6 ~     pub layers: Vec<Layer<'a>>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/network.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub layers: Vec<Layer>,
[INFO] [stdout]   |                     ^^^^^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 ~ pub struct NeuralNetwork<'a> {
[INFO] [stdout] 6 ~     pub layers: Vec<Layer<'a>>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/layer.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     activation::{self, get, ActivationFunction},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/layer.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     activation::{self, get, ActivationFunction},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `predicate` should have an upper camel case name
[INFO] [stdout]  --> src/math.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type predicate = fn (f64, usize, usize) -> f64;
[INFO] [stdout]   |          ^^^^^^^^^ help: convert the identifier to upper camel case: `Predicate`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `predicate` should have an upper camel case name
[INFO] [stdout]  --> src/math.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type predicate = fn (f64, usize, usize) -> f64;
[INFO] [stdout]   |          ^^^^^^^^^ help: convert the identifier to upper camel case: `Predicate`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `activation` found for struct `Layer` in the current scope
[INFO] [stdout]   --> src/network.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     self.layers[i].activation(x, false)
[INFO] [stdout]    |                                    ^^^^^^^^^^ field, not a method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/layer.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Layer<'a> {
[INFO] [stdout]    | -------------------- method `activation` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] help: to call the function stored in `activation`, surround the field access with parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (self.layers[i].activation)(x, false)
[INFO] [stdout]    |                     +                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `activation` found for struct `Layer` in the current scope
[INFO] [stdout]   --> src/network.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     self.layers[i].activation(x, false)
[INFO] [stdout]    |                                    ^^^^^^^^^^ field, not a method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/layer.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Layer<'a> {
[INFO] [stdout]    | -------------------- method `activation` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] help: to call the function stored in `activation`, surround the field access with parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (self.layers[i].activation)(x, false)
[INFO] [stdout]    |                     +                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:38:22
[INFO] [stdout]     |
[INFO] [stdout] 38  |                   .map(|x, r,c|
[INFO] [stdout]     |  __________________---_^
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  arguments to this method are incorrect
[INFO] [stdout] 39  | |                     self.layers[i].activation(x, false)
[INFO] [stdout]     | |_______________________________________________________^ expected fn pointer, found closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(f64, usize, usize) -> f64`
[INFO] [stdout]                   found closure `[closure@src/network.rs:38:22: 38:30]`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]    --> src/network.rs:39:21
[INFO] [stdout]     |
[INFO] [stdout] 39  |                     self.layers[i].activation(x, false)
[INFO] [stdout]     |                     ^^^^        ^ `i` captured here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `self` captured here
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/math.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn map(mut self, func: fn (f64, usize, usize) -> f64) -> Self {
[INFO] [stdout]     |            ^^^           -----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:38:22
[INFO] [stdout]     |
[INFO] [stdout] 38  |                   .map(|x, r,c|
[INFO] [stdout]     |  __________________---_^
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  arguments to this method are incorrect
[INFO] [stdout] 39  | |                     self.layers[i].activation(x, false)
[INFO] [stdout]     | |_______________________________________________________^ expected fn pointer, found closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(f64, usize, usize) -> f64`
[INFO] [stdout]                   found closure `[closure@src/network.rs:38:22: 38:30]`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]    --> src/network.rs:39:21
[INFO] [stdout]     |
[INFO] [stdout] 39  |                     self.layers[i].activation(x, false)
[INFO] [stdout]     |                     ^^^^        ^ `i` captured here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `self` captured here
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/math.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn map(mut self, func: fn (f64, usize, usize) -> f64) -> Self {
[INFO] [stdout]     |            ^^^           -----------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nn-trainer` (bin "nn-trainer" test) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `nn-trainer` (bin "nn-trainer") due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "683f9fff06bf3719f77201916ff87e1131772cb6abd3820deb90f40d54480566", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "683f9fff06bf3719f77201916ff87e1131772cb6abd3820deb90f40d54480566", kill_on_drop: false }`
[INFO] [stdout] 683f9fff06bf3719f77201916ff87e1131772cb6abd3820deb90f40d54480566
